package com.yn.xgame;

import org.apache.kafka.clients.consumer.ConsumerRecord;

/**
 * topic - protobuf 协议解析、编码类
 * Created by wangboo on 2017/7/11.
 */
public interface TopicProtoCoder {

    <T> T decode(ConsumerRecord<String, byte[]> rec);

}
